libxl: add "merge" function to generic device type support
authorJuergen Gross <jgross@suse.com>
Tue, 12 Jul 2016 15:30:39 +0000 (17:30 +0200)
committerWei Liu <wei.liu2@citrix.com>
Wed, 27 Jul 2016 11:29:52 +0000 (12:29 +0100)
commitde0b58c574b0bafb13585a94815049398a1fd9fe
treedd8cba7c4402a3c4223a625f3860ce9fff3251cb
parent653948018a6f2e7c4fe314329a9886c6b8388f96
libxl: add "merge" function to generic device type support

Instead of using a macro generating the code to merge xenstore and
json configuration data, use the generic device type support for
this purpose.

This requires to add some accessor functions to the framework and
a structure for disks (as disks are added separately they didn't need
such a structure up to now).

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_create.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_pci.c
tools/libxl/libxl_pvusb.c